package API.Test04;

import API.Test03.Director;

public class test {
    public static void main(String[] args) {
        invokeCalc((a,b)->a-b);
    }

    public static void invokeCalc(Calculator calculator) {
        int result = calculator.calc(130, 120);
        System.out.println("calc相减结果："+result);
    }
}
